﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace VISS.Web.Frontend.Modules.General {

    public partial class HelpPage : System.Web.UI.Page {

        protected string PageTitle { get; set; }
        protected string Description { get; set; }
        protected string Keywords { get; set; }

        protected void Page_Load(object sender, EventArgs e) {

            UserContext userContext = LoginFactory.GetCurrentUser();
            if (userContext == null) {
                Response.Redirect("/login");
                return;
            }
            idHeaderBar.PageOf = "<a href=\"/profile?u=" + userContext.UserKey + "\">Trở về trang cá nhân</a>";


            // SEO
            PageTitle = StringResources.SEO.TitleHelp + " | " + StringResources.SEO.TitleDefault;
            Description = StringResources.SEO.DescriptionDefault;
            Keywords = StringResources.SEO.KeywordsDefault;
        }
    }
}
